from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from options import options

# 指定Chromedriver驱动位置，service参数
driver_location=r"D:\py\chromedriver.exe"
service=Service(driver_location)
driver=webdriver.Chrome(options=options,service=service)